/**
 * 
 */
package group.anglers.om.core.persistence.serialization.impl;

import group.anglers.om.core.persistence.serialization.Column;

/**
 * @author an.pham
 * 
 */
public class ColumnImpl implements Column {
	private String name;
	private Class<?> type;

	protected ColumnImpl() {
	}
	
	protected ColumnImpl(String name, Class<?> type) {
		this.name = name;
		this.type = type;
	}

	@Override
	public String getName() {
		return name;
	}

	@Override
	public Class<?> getType() {
		return type;
	}

	public void setType(Class<?> type) {
		this.type = type;
	}

	public void setName(String name) {
		this.name = name;
	}
	
}
